<!doctype html> 
<html> 
<head> 
  <meta charset="utf-8"/>
  <title>后台管理系统</title>
  <meta name="author" content="DeathGhost" />
  <link rel="stylesheet" type="text/css" href="css/style.css" />
  <!--[if lt IE 9]>
  <script src="js/html5.js"></script>
  <![endif]-->

<script src="js/jquery.js"></script>
<script src="js/jquery.mCustomScrollbar.concat.min.js"></script>
<script>
	(function($){
		$(window).load(function(){
			
			$("a[rel='load-content']").click(function(e){
				e.preventDefault();
				var url=$(this).attr("href");
				$.get(url,function(data){
					$(".content .mCSB_container").append(data); //load new content inside .mCSB_container
					//scroll-to appended content 
					$(".content").mCustomScrollbar("scrollTo","h2:last");
				});
			});
			
			$(".content").delegate("a[href='top']","click",function(e){
				e.preventDefault();
				$(".content").mCustomScrollbar("scrollTo",$(this).attr("href"));
			});
			
		});
	})(jQuery);
</script>

</head>
<body>
	<section class="rt_wrap content mCustomScrollbar">
 <div class="rt_content">
     
 
     <section>
      <h2><strong style="color:grey;">基本信息</strong></h2>
      <ul class="ulColumn2">
       <li>
        <span class="item_name" style="width:120px;">公司名称：</span>
        <input type="text" value="{{$list->enterprise_name}}" class="textbox textbox_225" disabled="disabled" placeholder="请填写官方名称..."/>
       
       </li>
       <li>
        <span class="item_name" style="width:120px;">别名：</span>
        <input type="text" value="{{$list->enterprise_as_name}}" oldvalue="{{$list->enterprise_as_name}}" class="textbox textbox_225"  placeholder="请添加公司别名..."/>        
       </li>
       <li>
        <span class="item_name" style="width:120px;">类别：</span>
        <input type="text" value="{{$list->enterprise_type_name}}" disabled="disabled" class="textbox textbox_225"  placeholder="请添加公司类别..."/>        
       </li>
       <li>
        <span class="item_name" style="width:120px;">领域：</span>
        <input type="text" value="{{$list->enterprise_area}}" disabled="disabled" class="textbox textbox_225"  placeholder="请添加领域..."/>        
       </li>
       <li>
        <span class="item_name" style="width:120px;">简介摘要：</span>
        <textarea placeholder="请添加摘要消息..." class="textarea" style="width:300px;height:100px;"></textarea>
        <span id="oldtext">{{$list->enterprise_desc}}</span>
       </li>

       <li>
       <form action="enterprise" method="post" enctype="multipart/form-data">
        <input type="hidden" name="_token" value="{{ csrf_token() }}">
        <span class="item_name" style="width:120px;">Logo：</span>
        @if($list->enterprise_img)
        <img src="logo/{{$list->enterprise_img}}" alt="" style="width:70px;height: 40px;">
        @else
        <img src="logo/146357104275.jpg" alt="" style="width:70px;height: 40px;">
        @endif
        <label class="uploadImg">
        <input type="file" id="upfile" name="logo" />
         <span>上传图片</span>
        </label>
       </form>
       </li>

      </ul>
     </section>
    

 </div>
</section>
</body>
<script type="text/javascript">
$('#upfile').change(function(){
  $('form').submit();
})

$('').blur()
</script>
</html>


